3.21 \(\int \frac {1}{a+b \log (c (d+e x)^n)} \, dx\)

Optimal. Leaf size=63 \[ \frac {e^{-\frac {a}{b n}} (d+e x) \left (c (d+e x)^n\right )^{-1/n} \text {Ei}\left (\frac {a+b \log \left (c (d+e x)^n\right )}{b n}\right )}{b e n} \]

[Out]

(e*x+d)*Ei((a+b*ln(c*(e*x+d)^n))/b/n)/b/e/exp(a/b/n)/n/((c*(e*x+d)^n)^(1/n))

________________________________________________________________________________________

Rubi [A]  time = 0.05, antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {2389, 2300, 2178} \[ \frac {e^{-\frac {a}{b n}} (d+e x) \left (c (d+e x)^n\right )^{-1/n} \text {Ei}\left (\frac {a+b \log \left (c (d+e x)^n\right )}{b n}\right )}{b e n} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*Log[c*(d + e*x)^n])^(-1),x]

[Out]

((d + e*x)*ExpIntegralEi[(a + b*Log[c*(d + e*x)^n])/(b*n)])/(b*e*E^(a/(b*n))*n*(c*(d + e*x)^n)^n^(-1))

Rule 2178

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - (c*f)/d))*ExpIntegral
Ei[(f*g*(c + d*x)*Log[F])/d])/d, x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rule 2300

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_), x_Symbol] :> Dist[x/(n*(c*x^n)^(1/n)), Subst[Int[E^(x/n)*(a +
b*x)^p, x], x, Log[c*x^n]], x] /; FreeQ[{a, b, c, n, p}, x]

Rule 2389

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.), x_Symbol] :> Dist[1/e, Subst[Int[(a + b*Log[c*
x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, n, p}, x]

Rubi steps

\begin {align*} \int \frac {1}{a+b \log \left (c (d+e x)^n\right )} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {1}{a+b \log \left (c x^n\right )} \, dx,x,d+e x\right )}{e}\\ &=\frac {\left ((d+e x) \left (c (d+e x)^n\right )^{-1/n}\right ) \operatorname {Subst}\left (\int \frac {e^{\frac {x}{n}}}{a+b x} \, dx,x,\log \left (c (d+e x)^n\right )\right )}{e n}\\ &=\frac {e^{-\frac {a}{b n}} (d+e x) \left (c (d+e x)^n\right )^{-1/n} \text {Ei}\left (\frac {a+b \log \left (c (d+e x)^n\right )}{b n}\right )}{b e n}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.07, size = 63, normalized size = 1.00 \[ \frac {e^{-\frac {a}{b n}} (d+e x) \left (c (d+e x)^n\right )^{-1/n} \text {Ei}\left (\frac {a+b \log \left (c (d+e x)^n\right )}{b n}\right )}{b e n} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Log[c*(d + e*x)^n])^(-1),x]

[Out]

((d + e*x)*ExpIntegralEi[(a + b*Log[c*(d + e*x)^n])/(b*n)])/(b*e*E^(a/(b*n))*n*(c*(d + e*x)^n)^n^(-1))

________________________________________________________________________________________

fricas [A]  time = 0.72, size = 46, normalized size = 0.73 \[ \frac {e^{\left (-\frac {b \log \relax (c) + a}{b n}\right )} \operatorname {log\_integral}\left ({\left (e x + d\right )} e^{\left (\frac {b \log \relax (c) + a}{b n}\right )}\right )}{b e n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b*log(c*(e*x+d)^n)),x, algorithm="fricas")

[Out]

e^(-(b*log(c) + a)/(b*n))*log_integral((e*x + d)*e^((b*log(c) + a)/(b*n)))/(b*e*n)

________________________________________________________________________________________

giac [A]  time = 0.17, size = 49, normalized size = 0.78 \[ \frac {{\rm Ei}\left (\frac {\log \relax (c)}{n} + \frac {a}{b n} + \log \left (x e + d\right )\right ) e^{\left (-\frac {a}{b n} - 1\right )}}{b c^{\left (\frac {1}{n}\right )} n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b*log(c*(e*x+d)^n)),x, algorithm="giac")

[Out]

Ei(log(c)/n + a/(b*n) + log(x*e + d))*e^(-a/(b*n) - 1)/(b*c^(1/n)*n)

________________________________________________________________________________________

maple [C]  time = 0.66, size = 311, normalized size = 4.94 \[ -\frac {\left (e x +d \right ) c^{-\frac {1}{n}} \left (\left (e x +d \right )^{n}\right )^{-\frac {1}{n}} \Ei \left (1, -\ln \left (e x +d \right )-\frac {-i \pi b \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i \left (e x +d \right )^{n}\right ) \mathrm {csgn}\left (i c \left (e x +d \right )^{n}\right )+i \pi b \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \left (e x +d \right )^{n}\right )^{2}+i \pi b \,\mathrm {csgn}\left (i \left (e x +d \right )^{n}\right ) \mathrm {csgn}\left (i c \left (e x +d \right )^{n}\right )^{2}-i \pi b \mathrm {csgn}\left (i c \left (e x +d \right )^{n}\right )^{3}+2 b \ln \relax (c )+2 a +2 \left (-n \ln \left (e x +d \right )+\ln \left (\left (e x +d \right )^{n}\right )\right ) b}{2 b n}\right ) {\mathrm e}^{-\frac {-i \pi b \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i \left (e x +d \right )^{n}\right ) \mathrm {csgn}\left (i c \left (e x +d \right )^{n}\right )+i \pi b \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \left (e x +d \right )^{n}\right )^{2}+i \pi b \,\mathrm {csgn}\left (i \left (e x +d \right )^{n}\right ) \mathrm {csgn}\left (i c \left (e x +d \right )^{n}\right )^{2}-i \pi b \mathrm {csgn}\left (i c \left (e x +d \right )^{n}\right )^{3}+2 a}{2 b n}}}{b e n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(b*ln(c*(e*x+d)^n)+a),x)

[Out]

-1/e/b/n*(e*x+d)*((e*x+d)^n)^(-1/n)*c^(-1/n)*exp(-1/2*(-I*b*Pi*csgn(I*c)*csgn(I*(e*x+d)^n)*csgn(I*c*(e*x+d)^n)
+I*b*Pi*csgn(I*c)*csgn(I*c*(e*x+d)^n)^2+I*b*Pi*csgn(I*(e*x+d)^n)*csgn(I*c*(e*x+d)^n)^2-I*b*Pi*csgn(I*c*(e*x+d)
^n)^3+2*a)/b/n)*Ei(1,-ln(e*x+d)-1/2*(-I*b*Pi*csgn(I*c)*csgn(I*(e*x+d)^n)*csgn(I*c*(e*x+d)^n)+I*b*Pi*csgn(I*c)*
csgn(I*c*(e*x+d)^n)^2+I*b*Pi*csgn(I*(e*x+d)^n)*csgn(I*c*(e*x+d)^n)^2-I*b*Pi*csgn(I*c*(e*x+d)^n)^3+2*b*ln(c)+2*
b*(ln((e*x+d)^n)-n*ln(e*x+d))+2*a)/b/n)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{b \log \left ({\left (e x + d\right )}^{n} c\right ) + a}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b*log(c*(e*x+d)^n)),x, algorithm="maxima")

[Out]

integrate(1/(b*log((e*x + d)^n*c) + a), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {1}{a+b\,\ln \left (c\,{\left (d+e\,x\right )}^n\right )} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a + b*log(c*(d + e*x)^n)),x)

[Out]

int(1/(a + b*log(c*(d + e*x)^n)), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{a + b \log {\left (c \left (d + e x\right )^{n} \right )}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b*ln(c*(e*x+d)**n)),x)

[Out]

Integral(1/(a + b*log(c*(d + e*x)**n)), x)

________________________________________________________________________________________